{if(session('?usercode'))}
<a href="javascript:;" class="avatar"><img src="{$uc.tx}"></a>
<div class="info"><p>您好，<b>{$uc.name}</b></p>
	<div class="iu_link">
		<a href="/member/">管理中心</a>{if($user.uc == 'sell')}<a href="{:sysconf('site_domain')}/ishop{$uc.id}/">我的店铺</a>{else}<a href="/member/cart">购物车</a>{/if}<a href="/member/order/{$user.uc}">订单</a>
	</div>
</div>
{else}
<a href="javascript:;" class="avatar">
<img src="https://suzhizhan.oss-cn-beijing.aliyuncs.com/image/none.jpg"></a>
<div class="info"><p>您好，欢迎来到{:sysconf('site_name')}！</p>
<div class="login-btn"><a href="/member/reg" >注册</a><span>/</span><a onclick="layer_login()">登录</a></div></div>
{/if}